package com.zzyl.nursing.domain;

import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import com.zzyl.common.annotation.Excel;
import com.zzyl.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 用餐反馈对象 catering_feedback
 * 
 * @author alexis
 * @date 2024-12-30
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("用餐反馈实体")
public class CateringFeedback extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    // 编号
    @ApiModelProperty("编号")
    private Long id;

    // 老人ID
    @Excel(name = "老人ID")
    @ApiModelProperty("老人ID")
    private Long elderlyId;

    // 用餐日期
    @Excel(name = "用餐日期")
    @ApiModelProperty("用餐日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date menuDate;

    // 餐次类型(1=早餐,2=午餐,3=晚餐,4=加餐)
    @Excel(name = "餐次类型", readConverterExp = "1=早餐,2=午餐,3=晚餐,4=加餐")
    @ApiModelProperty("餐次类型(1=早餐,2=午餐,3=晚餐,4=加餐)")
    private Integer mealType;

    // 满意度评分(1=非常不满意,2=不满意,3=一般,4=满意,5=非常满意)
    @Excel(name = "满意度评分", readConverterExp = "1=非常不满意,2=不满意,3=一般,4=满意,5=非常满意")
    @ApiModelProperty("满意度评分(1=非常不满意,2=不满意,3=一般,4=满意,5=非常满意)")
    private Integer satisfactionLevel;

    // 反馈内容
    @Excel(name = "反馈内容")
    @ApiModelProperty("反馈内容")
    private String feedbackContent;

    // 反馈图片URL列表
    @Excel(name = "反馈图片")
    @ApiModelProperty("反馈图片URL列表")
    private String feedbackImages;

    // 处理状态(0=未处理,1=已处理)
    @Excel(name = "处理状态", readConverterExp = "0=未处理,1=已处理")
    @ApiModelProperty("处理状态(0=未处理,1=已处理)")
    private Integer status;

    // 回复内容
    @Excel(name = "回复内容")
    @ApiModelProperty("回复内容")
    private String responseContent;


} 